package com.anjubao.parking.municipal.user.dto;

import com.anjubao.parking.municipal.user.dto.UserVehicleDto;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 用户信息表
 *
 * @author zhuchunfeng
 */
@Getter
@Setter
@ApiModel("用户列表")
@Accessors(chain = true)
public class UserInfoMgmtDto{

    @TableField(value="id")
    @ApiModelProperty(name="userCode",value = "用户ID，必须为16位长度")
    private String userCode;

    @TableField(value="phone")
    @ApiModelProperty(name="phone",value = "用户手机号")
    private String phone;

    @TableField(value="name")
    @ApiModelProperty(name="name",value = "真实姓名")
    private String name;

//    @TableField(value="id_card")
//    @ApiModelProperty(name="idCard",value = "身份证号")
//    private String idCard;

    @TableField(value="balance")
    @ApiModelProperty(name="balance",value = "帐户余额")
    private Integer balance;


    @TableField(value="wx_nickname")
    @ApiModelProperty(name="wxNickname",value = "微信昵称")
    private String wxNickname;

    @ApiModelProperty(name = "oweFee",value = "代缴金额 单位分")
    private Integer oweFee;

    @ApiModelProperty(name="vehicles",value = "绑定的车牌号,最多绑定6个")
    private List<UserVehicleDto> vehicles;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

}